package com.cookbook.database.data;

import com.cookbook.database.model.Reply;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ReplyMapper {
    void insert(@Param("reply") Reply reply);

    List<Reply> selectWithOffset(
            @Param("commentId") int commentId,
            @Param("offset") int offset,
            @Param("limit") int limit);
}